Used in Adamant Mod with permission from Mlmbd.